<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加用户</title>
</head>
<body>
<form:form action="/adduser" method="post" modelAttribute="validUserBean">
    <h1>${ERR_name}</h1>
    <h1>${ERR_age}</h1>
    名字：<form:input type="text" path="name"/><br>
    年龄：<form:input type="number" path="age"/><br>
    <input type="submit">
</form:form>

</body>
</html>